package com.jae.mapper;

import com.jae.model.user.User;
import org.springframework.stereotype.Repository;

import java.util.Map;

@Repository
public interface UserMapper {
    User findByUsername(Map map);

    int insert(User user);

    void deleteRefreshTokenByUsername(String username);

    void deleteAccessTokenByUsername(String username);
}
